package cn.edu.scau.cmi.ema.dao;

import java.util.Set;

import org.springframework.dao.DataAccessException;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;
import java.math.BigDecimal;

public interface DetectfeatureDAO extends JpaDao<Detectfeature> {

	public Detectfeature findDetectfeatureById(Integer id) throws DataAccessException;

	public Detectfeature findDetectfeatureById(Integer id, int startResult, int maxRows) throws DataAccessException;

	public Set<Detectfeature> findDetectfeatureByName(String name) throws DataAccessException;

	public Set<Detectfeature> findDetectfeatureByName(String name, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectfeature> findDetectfeatureByNameContaining(String name_1) throws DataAccessException;

	public Set<Detectfeature> findDetectfeatureByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectfeature> findDetectfeatureByQuantity(BigDecimal quantity) throws DataAccessException;

	public Set<Detectfeature> findDetectfeatureByQuantity(BigDecimal quantity, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectfeature> findDetectfeatureByDescription(String description) throws DataAccessException;

	public Set<Detectfeature> findDetectfeatureByDescription(String description, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectfeature> findDetectfeatureByDescriptionContaining(String description_1) throws DataAccessException;

	public Set<Detectfeature> findDetectfeatureByDescriptionContaining(String description_1, int startResult,
			int maxRows) throws DataAccessException;

	public Detectfeature findDetectfeatureByPrimaryKey(Integer id) throws DataAccessException;

	public Detectfeature findDetectfeatureByPrimaryKey(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectfeature> findDetectfeaturesByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Detectfeature> findAllDetectfeatures() throws DataAccessException;

	public Set<Detectfeature> findAllDetectfeatures(int startResult, int maxRows) throws DataAccessException;

	public Set<Detectfeature> findDetectfeaturesByDetect(Integer detectId, int start, int max);

	public Set<Detectfeature> findDetectfeaturesByFeature(Integer featureId, int start, int max);

	public Set<Detectfeature> findDetectfeaturesByUnit(Integer unitId, int start, int max);

	public Set<Detectfeature> findDetectfeatureByCompositeProperities(String sql, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Detectfeature> findDetectfeaturesByDetachedCriteria(CmiPagination page) throws DataAccessException;

	public Detectfeature findDetectfeatureByPhysicalPrimaryKey(Integer detectId, Integer featureId)
			throws DataAccessException;

	public Detectfeature findDetectfeatureByPhysicalPrimaryKey(Integer detectId, Integer featureId, int startResult,
			int maxRows) throws DataAccessException;
}
